#define _CRT_SECURE_NO_WARNINGS 1
#include"queue.h"

void test01()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);

	QueuePop(&pq);
	QueuePop(&pq);
	QueuePop(&pq);
	QueuePop(&pq);

	int ret = QueueFront(&pq);
	ret = QueueBack(&pq);
	ret = QueueSize(&pq);

	QueueDestroy(&pq);
}


int main()
{
	test01();
}